package com.gimi.cloud.bbp.dao.dao.product;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.gimi.cloud.bbp.dao.dao.sys.BaseDao;
import com.gimi.cloud.bbp.dao.myMapper.MyMapper;
import com.gimi.cloud.bbp.dto.product.LogisticsCompanyDTO;
import com.gimi.cloud.bbp.entity.product.LogisticsCompanyEntity;

/**
 * Created by shazhiwei on 2018/1/11.
 */
public interface LogisticsCompanyDao extends MyMapper<LogisticsCompanyEntity>, BaseDao<LogisticsCompanyEntity,LogisticsCompanyDTO> {
    /**
     * 获取物流公司列表
     * @return
     */
    @Select("SELECT lc_id,company_name,company_address,company_tel FROM ec_logistics_company WHERE is_delete = 0;")
    List<LogisticsCompanyDTO> logisticsCompanyList();

}
